package com.acme.bankapp.apps;

public class BankApplication {

	public static final String SERVER_IP = "localhost";
	public static final int SERVER_PORT = 5555;


    public static final String INITIAL_MESSAGE = "enter command";
    public static final String ADD_CLIENT = "addclient";
    public static final String REMOVE_CLIENT = "removeclient";
    public static final String REMOVE_ALL_CLIENTS = "removeall";



    public static final String GET_CLIENTS_MESSAGE_HEADER = "getclients";
    public static final String END_SESSION_MESSAGE = "end";
	
	public static void main(String[] args) {

        if(args[0].equals("-client")){
            ClientApplication application = new ClientApplication(SERVER_IP,SERVER_PORT);
            application.start();
        }else{
            ServerApplication application = new ServerApplication(SERVER_PORT);
            application.start();
        }
	}

}
